<template>
    <h1 class="redText">{{ title }}</h1>
    <div></div>
</template>
<script setup>
    import { ref } from 'vue'
    const title = ref('Hello Vue 3!')
    setTimeout(() => {
       title.value = 'Welcome to Vue 3!'   
    }, 2000);
</script>
<style>
    .redText{
        color: red;        
    }
</style>